﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.AspNet.SignalR;

namespace apiframworkTest.Signalr
{
    public class MyuSignalr : Hub
    {
        public void SendMsg(string message)
        {
            Clients.Caller.sendMessage(DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"),message);
        }
    }
}